package com.wiken.userservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wiken.userservice.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wiken
 * @since 2022-12-28
 */
public interface IUserService extends IService<User> {
    boolean register(User user);

    String login(User user);

    Page<User> allUser(Page page);

    User getUserByUserId(String userId);
}
